package com.permissionmanager.mapper;

import com.permissionmanager.entity.Perm;
import com.permissionmanager.entity.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * perm持久层
 *
 */
@Mapper
public interface PermMapper {
    void add(Perm perm);

    void update(Perm perm);

    List<Perm> findPerm(Integer id, String name,String pNo,Integer isOne,Integer all);

    void del(Integer id);

    List<Perm> findPage(Integer skipNum, Integer pageSize, String name);

    List<Perm> findAll();
}
